﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using System.Xml.Linq;

using EggOfPanKu.Library.Infrastructure;

namespace EggOfPanKu.Library.Objects
{
    public class Sensei : Stronghold
    {
        #region Fields
        private string _Focus;
        #endregion

        #region Constructor
        public Sensei(XElement cardNode)
            : base(cardNode)
        {
            _Focus = (string)cardNode.Element("focus");
            if (String.IsNullOrEmpty(_Focus))
            {
                _Focus = "0";
                ParseWarning("Focus");
            }
        }
        #endregion

        #region Properties

        public string Focus
        {
            get { return _Focus; }
            set { _Focus = value; }
        }

        public override CardDeck DeckType
        {
            get { return CardDeck.Fate; }
        }

        public override CardType CardType
        {
            get { return CardType.Sensei; }
        }

        #endregion
    }
}
